Skip to content

Function to Bulk delete records from Change request and Incident table #1501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Soumyadeep10
Copy link
Contributor

This background script deletes all records from the incident table having state=7 and urgency=3.
This background script also deletes all records from change_request table having priority=3 and impact=2.
It uses the bulkDelete() function to execute the deletion.

This background script deletes all records from the incident table having state=7 and urgency=3 as well as from change_request table for records having priority=3 and impact=2.
This background script deletes all records from the incident table having state=7 and urgency=3
This background script also deletes all records from change_request table having priority=3 and impact=2.
It uses the bulkDelete() function to execute the deletion.
@am-shakeel am-shakeel self-assigned this Oct 26, 2024
Copy link

@am-shakeel am-shakeel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is seen as similar to #1091

This pull request seems to be copied from a community answer without proper attribution. Contributions should be original, and any referenced work should be properly attributed. Please correct this and ensure the pull request content aligns with the title and description before resubmitting. Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.

@am-shakeel am-shakeel closed this Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants